﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using CttAdministracion.Modelo;

namespace CttAdministracion.vistas
{
    /// <summary>
    /// Interaction logic for PageMenu.xaml
    /// </summary>
    public partial class PageMenu : Page
    {
        usuarios u = new usuarios();
        public PageMenu(usuarios usr)
        {
            u = usr;
           InitializeComponent();
            
        }
        
        public void PageMenu1_Loaded(object sender, RoutedEventArgs e)
        {
            this.lblUsrLoged.Content = u.nombre;
            
        }

        private void btnUsuarios_Click(object sender, RoutedEventArgs e)
        {
            PageUsuariosBuscar usrBuscar = new PageUsuariosBuscar();
            NavigationService.Navigate(usrBuscar);
        }
        
    }
}
